<?php 
if(isset($whosinUsers) && !empty($whosinUsers))
{
	?>
	<ul>
	<?php
	$cnt = 0;
	$whosinUsersCnt = count($whosinUsers);
	foreach ($whosinUsers as $whosinUser)
	{
		if($cnt > 0 && (($cnt % 4) == 0))
		{
			?>
			<?php
		}
		?>
		<li>
			<?php echo $html->link($html->image($whosinUser['User']['avatar'],array('class'=>"profile_pic",'alt'=>sprintf(__("%s profile"),$whosinUser['User']['display_name']),'thumb'=>array('crop'=>true,'width'=>50,'height'=>50))),$whosinUser['User']['profile_url'],array("escape"=>false)); ?>
			<br/>
			<?php echo $html->link($whosinUser['User']['display_name'],$whosinUser['User']['profile_url']); ?>
		</li>
		<?php
		$cnt++;
		if(($cnt % 4) == 0)
		{
			?>
			</tr>
			<?php
		}
	}
	if(($cnt % 4) != 0)
	{
		?>
		</ul>
		<?php 
	}
}
?>